<%@ page import="com.daye.homework.bean.Class" %>
<%@ page import="java.util.List" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>查看所有班级</title>
</head>
<body>
<table>
    <c:forEach items="${requestScope['banjiList']}" var="MyClass">
        <tr>
            <td>班级名称:${MyClass['className']}</td>
            <td>年级:${MyClass.grade}</td>
            <td>班主任名称:${MyClass.teacherName}</td>
            <td>班级口号:${MyClass.catchword}</td>
            <td>班级人数:${MyClass.peopleNum}</td>


            <td><a href="removeClass?id=${MyClass.id}">删除班级</a></td>
            <td><a href="updateClass?id=${MyClass.id}">修改班级信息</a></td>
        </tr>
    </c:forEach>
</table>
<a href="classManagerPage.jsp">回去</a>
</body>
</html>
